package com.lzj.eurekaorder;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@EnableEurekaClient
@RestController
public class AppOrder {

    @RequestMapping("/")
    public String getOrder() {
        return "调用订单服务";

    }

    public static void main(String[] args) {
        SpringApplication.run(AppOrder.class, args);
    }
}

